import Vue from "vue";
import Vuex from "vuex";
import cart from "./cart";

import Balance from "./th/Balance.js";
import Deposit from "./th/Deposit.js";
import Return from "../store/th/Return";

import order from "./order";
import count from "./count";
import item from "./item";
import address from "./address";
Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    cart,
    order,
    count,
    item,
    address,
    Balance,
    Deposit,
    Return,
  },
  state: {
    host: "http://127.0.0.1",
    isLogin:false,
  },
  mutations: {

  },
});
